home *** CD-ROM | disk | FTP | other *** search
- ; Install Script for Sound2Motion v1.21
- ; Written by Alvaro Thompson. s2m is written by David Howe, so therefore
- ; Sound2Motion is ©1997 David Howe
-
- (set #info
- (cat "Sound2Motion v1.21"
- "\n\nWritten by David Howe"
- "\n©1997"
- "\n\nTo contact the author, please write to:"
- "\n\n9 Barnfield Street"
- "\nDenton, Manchester"
- "\nM34 3PE"
- "\nEngland"
- ))
-
- (set #where
- (cat "Where do you wish to install s2m?"
- "\n(A drawer will be created)"
- ))
-
- (set #anims
- (cat "Where do you usually store your Animations?"
- ))
-
- (message #info)
-
- (set destination
- (askdir
- (prompt #where)
- (help @askdir-help)
- (default "Sys:")
- )
- )
-
- (makedir (tackon destination "Sound2Motion"))
-
- (set trgt (tackon destination "Sound2Motion"))
-
- (copyfiles
- (help @copyfiles-help)
- (source "/Sound2Motion.info")
- (dest destination)
- (noposition)
- )
-
- (copyfiles
- (help @copyfiles-help)
- (source "")
- (dest trgt)
- (all)
- )
-
- (delete (tackon trgt "Install"))
- (delete (tackon trgt "Install.info"))
-
- (set anims
- (askdir
- (prompt #anims)
- (help @askdir-help)
- (default "PPaint:Animations")
- )
- )
-
- (set #startup
- (cat "I need to make the following assigns:"
- '\n\nAssign Sound2Motion: 'trgt
- '\nAssign Anims: 'anims
- ))
-
- (startup "Sound2Motion"
- (prompt #startup)
- (help @startup-help)
- (command 'Assign Sound2Motion: "'trgt'"')
- (command '\nAssign Anims: "'anims'"')
- )
-
- (set @default-dest trgt)
-
- (exit)